package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.EmployeeTraining;

/**
 * 员工培训记录Service接口
 * 
 * @author ruoyi
 * @date 2024-11-18
 */
public interface IEmployeeTrainingService 
{
    /**
     * 查询员工培训记录
     * 
     * @param id 员工培训记录主键
     * @return 员工培训记录
     */
    public EmployeeTraining selectEmployeeTrainingById(Long id);

    /**
     * 查询员工培训记录列表
     * 
     * @param employeeTraining 员工培训记录
     * @return 员工培训记录集合
     */
    public List<EmployeeTraining> selectEmployeeTrainingList(EmployeeTraining employeeTraining);

    /**
     * 新增员工培训记录
     * 
     * @param employeeTraining 员工培训记录
     * @return 结果
     */
    public int insertEmployeeTraining(EmployeeTraining employeeTraining);

    /**
     * 修改员工培训记录
     * 
     * @param employeeTraining 员工培训记录
     * @return 结果
     */
    public int updateEmployeeTraining(EmployeeTraining employeeTraining);

    /**
     * 批量删除员工培训记录
     * 
     * @param ids 需要删除的员工培训记录主键集合
     * @return 结果
     */
    public int deleteEmployeeTrainingByIds(Long[] ids);

    /**
     * 删除员工培训记录信息
     * 
     * @param id 员工培训记录主键
     * @return 结果
     */
    public int deleteEmployeeTrainingById(Long id);

    String importData(List<EmployeeTraining> userList, boolean updateSupport, String operName);
}
